$OpenBSD: patch-csync_src_std_c_private_h,v 1.3 2017/03/09 13:33:52 kirby Exp $

Disable Thread-Local-Storage

--- csync/src/std/c_private.h.orig	Fri Mar  3 12:11:17 2017
+++ csync/src/std/c_private.h	Mon Mar  6 10:53:40 2017
@@ -167,7 +167,7 @@ int c_close_iconv(void);
 #endif
 
 /* FIXME: Implement TLS for OS X */
-#if defined(__GNUC__) && !defined(__APPLE__)
+#if defined(__GNUC__) && !defined(__APPLE__) && !defined(__OpenBSD__)
 # define CSYNC_THREAD __thread
 #elif defined(_MSC_VER)
 # define CSYNC_THREAD __declspec(thread)
